package com.tedu.weibotest.mapper;

import com.tedu.weibotest.pojo.entity.Weibo;
import com.tedu.weibotest.pojo.vo.WeiboDetailVO;
import com.tedu.weibotest.pojo.vo.WeiboIndexVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface WeiboMapper {
    int insert(Weibo weibo);

    List<WeiboIndexVO>selectWeibo();


    WeiboDetailVO selectById(int id);


}